package com.qyhl.module_practice.volunteer.sign;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeListBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeSignBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeSignTagBean;

import java.util.List;

public interface PracticeVolunteerSignContract {
    interface PracticeVolunteerSignView {
        void signSuccess(String msg);

        void signFailure(List<PracticeVolunteerSignActivity.ContractBean> beanList, String msg);

        void getTagSuccess(PracticeSignBean bean);

        void getTagFailure(String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);

        void setList(List<PracticeListBean> beanList);

        void setError(String msg);

        void getTeamTagSuccess(List<PracticeSignTagBean> beanList);

        void getTeamTagError(String msg);
    }

    interface PracticeVolunteerSignPresenter {
        void getTagList();

        void getInstList(String instId);

        void getTeamTag();

        void getToken(boolean isUpload);

        void doSignForPublic(String name, String phone, String sex, String actId);

        void doSignForVolunteer(String sex, String permanentAddress, String politicalFace, String name, String phone,
                                String logo, String tagIds, String orgIds, String orgName, String orgDes, String orgInsId,
                                String orgType, String orgCon, String workAddress,String idCard);

        void getTagSuccess(PracticeSignBean bean);

        void getTagFailure(String msg);

        void signSuccess(String msg);

        void signFailure(List<PracticeVolunteerSignActivity.ContractBean> beanList, String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);

        void setList(List<PracticeListBean> beanList);

        void setError(String msg);

        void getTeamTagSuccess(List<PracticeSignTagBean> beanList);

        void getTeamTagError(String msg);
    }

    interface PracticeVolunteerSignModel {
        void getTagList();

        void getInstList(String instId);

        void doSignForPublic(String name, String phone, String sex, String actId);

        void doSignForVolunteer(String sex, String permanentAddress, String politicalFace, String name, String phone,
                                String logo, String tagIds, String orgIds, String orgName, String orgDes, String orgInsId,
                                String orgType, String orgCon, String workAddress,String idCard);

        void getToken(boolean isUpload);

        void getTeamTag();

    }
}
